package com.digital.smartgrow.dto.title;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("user_punishment")
public class Punishment implements Serializable {


    @TableId(type = IdType.AUTO) //主键自增
    private Integer id;         //定义主键

    private String idcard; //身份证号
    private String punishment;//任现职以来受何处分
    private Integer status;//0无效1有效
    private Date time;//时间







}
